package com.wu.dms.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wu.dms.dao.entity.Song;
import com.wu.dms.dto.SongRequestDTO;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface SongService extends IService<Song> {

    void addSong(SongRequestDTO addSongRequestDTO, MultipartFile mpfile);

    void updateSongMsg(SongRequestDTO updateSongRequestDTO);

    void updateSongUrl(MultipartFile urlFile, Long id);

    void updateSongPic(MultipartFile urlFile, Long id);

    void deleteSong(Long id);

    List<Song> songOfSingerId(Long singerId);

    List<Song> songOfId(Long id);

    List<Song> songOfSingerName(String name);
}
